Try to checkout same branch in dependencies #328
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a port of the branch checkout behavior from maliput/maliput_dragway#18. I've tested it with the eloquent branch that naively attempts to use
eloquent
in dfd57a0 but fails due to missing fixes from maliput/maliput#370 and maliput/maliput_dragway#20. Since those are also oneloquent
branches in their respective repositories, adding the branch checkout behavior to the actions CI in 642ff22 allows theeloquent
branch to pass CI.Original description of branch checkout behavior
This implements some behavior from our Jenkins CI that
attempts to checkout a branch of the same name in all
dependency packages. This requires setting
fetch-depth: 0
in the actions/checkout steps and installing git 2.18+
before those checkout steps. For 18.04, the git-core ppa
is used; this will not be needed on 20.04.